package com.it.mybatis.dao;

import com.it.mybatis.domain.Company;
import com.it.mybatis.query.CompanyQuery;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CompanyXmlDao {
    public List<Company> findAll();

    public Integer insertCompany(Company company);

    public Integer deleteById(Integer id);

    public List<Company> findBy(CompanyQuery query);
}
